package com.totem.customer.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.totem.base.mybatis.model.AbstractEntity;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(onlyExplicitlyIncluded=true, callSuper = true)
@Data
@Builder
@TableName("t_tracks")
public class TTracks extends AbstractEntity {
    @EqualsAndHashCode.Include
    @TableId(value="id", type= IdType.AUTO)
    private Long id;
    @TableField("customer_id")
    private Long customerId;
    @TableField("product_id")
    private Long productId;
}
